package com.developmentReformProject.dto;

import com.developmentReformProject.enums.AdminPowerEnum;
import com.developmentReformProject.enums.AdminStateEnum;

import java.io.Serializable;

public class AdminQueryDto implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer adminNo;

    private String adminName;
    private Integer adminPower;

    private String adminAccountNumber;

    private Integer adminStateId;
    private Integer currentPage;

    private Integer pageSize;
    private String adminPowerDesc;
    private String adminStateDesc;
    public String getAdminPowerDesc(){
        return AdminPowerEnum.valueToDESC(this.getAdminPower());
    }

    public String getAdminStateDesc() {
        return AdminStateEnum.valueToDESC(this.getAdminStateId());
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName( String adminName ) {
        this.adminName = adminName;
    }

    public Integer getAdminNo() {
        return adminNo;
    }

    public void setAdminNo( Integer adminNo ) {
        this.adminNo = adminNo;
    }

    public String getAdminAccountNumber() {
        return adminAccountNumber;
    }

    public void setAdminAccountNumber( String adminAccountNumber ) {
        this.adminAccountNumber = adminAccountNumber;
    }

    public Integer getAdminStateId() {
        return adminStateId;
    }

    public void setAdminStateId( Integer adminStateId ) {
        this.adminStateId = adminStateId;
    }

    public Integer getAdminPower() {
        return adminPower;
    }

    public void setAdminPower(Integer adminPower) {
        this.adminPower = adminPower;
    }

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
